<article class="help">
  <section class="main">
    <div class="headings">
      <p class="title">DELETE</p>
      <p class="subtitle">Delete nodes and relationships</p>
    </div>
    <div class="content">
      <p>The <code>DELETE</code> clause is used to delete nodes and relationships identified within a <code>MATCH</code> clause, possibly qualified by a <code>WHERE</code>.  Remember that you can not delete a node without also deleting relationships that start or end on said node.</p>
      <div class="links">
        <div class="link">
          <p class="title">Reference</p>
          <p class="content">
            <code><a target="_blank" href="https://neo4j.com/docs/developer-manual/3.2/cypher/clauses/delete/">DELETE</a> manual page</code>
          </p>
        </div>
        <div class="link">
          <p class="title">Related</p>
          <p class="content">
            <a help-topic="detach-delete">:help DETACH DELETE</a>&nbsp;
            <a help-topic="match">:help MATCH</a>&nbsp;
            <a help-topic="where">:help WHERE</a>&nbsp;
            <a help-topic="remove">:help REMOVE</a>&nbsp;
            <a help-topic="cypher">:help Cypher</a>&nbsp;
          </p>
        </div>
      </div>
    </div>
  </section>
  <section class="example">
    <figure class="runnable">
      <pre>MATCH (n)-[r]-() WHERE n.name = 'Soren' DELETE r</pre>
      <figcaption>Remove all of Soren's friends.</figcaption>
    </figure>
  </section>
</article>
